package com.zack.designPattern.mediator;

public class Demo {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Mediator mediator = new Mediator();
		Colleague a = new Colleague("东风", mediator);
		Colleague b = new Colleague("南风", mediator);
		Colleague c = new Colleague("西风", mediator);
		Colleague d = new Colleague("北风", mediator);
		
		mediator.winAll(a);
		b.winAll();

	}

}
